package com.uphone.edwards.pro.activity.login.catalogue;


import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.ListView;

import com.uphone.edwards.R;
import com.uphone.edwards.adapter.ContanctsAdapter;
import com.uphone.edwards.adapter.ContentsAdapter;
import com.uphone.edwards.base.mvp.BaseMvpActivity;
import com.uphone.edwards.pro.activity.login.mine.MineContract;
import com.uphone.edwards.pro.activity.login.mine.MinePresenter;
import com.uphone.edwards.util.LanguageUtils;
import com.uphone.edwards.util.SharedUtils;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;

public class CataLogueActivity extends BaseMvpActivity<CataLoguePresenter> implements CataLogueContract.View {
    private ContentsAdapter cAdapter;
    @BindView(R.id.lv_catalogue)
    ListView lvCataLogue;

    private CataLoguePresenter mPresenter;


    @Override
    protected void initBundle() {

    }

    @Override
    protected int initLayout() {
        return R.layout.activity_catalogue;
    }

    @Override
    protected void initView() {
        mPresenter = new CataLoguePresenter();
        mPresenter.postManual();
        cAdapter = new ContentsAdapter(this);
        List<String> list = new ArrayList<>();
        list.add("a");
        list.add("a");
        list.add("a");
        list.add("a");
        list.add("a");
        list.add("a");
        list.add("a");
        list.add("a");
        list.add("a");
        list.add("other");
        lvCataLogue.setAdapter(cAdapter);
        cAdapter.setData(list);
    }

    @Override
    protected void initTitle() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initListener() {

    }

    @Override
    protected void initInject() {

    }

    @Override
    public void manualView(String responseBean, int status) {

    }
}
